package com.egao.common.module.student.constants;

/**
 * 学生简历常量工具类
 * @author dl
 */
public class StudentResumeConstants {

    /** 已填 */
    public static final String ABILITY_YES = "0";
    /** 未填 */
    public static final String ABILITY_NO = "1";

    /** 自定义简历 */
    public static final String RESUME_TYPE = "1";


    /** 学生简历标准模板 */
    public static final String RESUME_TYPE_NORMAL = "1";
    /** 学生简历自定义模板 */
    public static final String RESUME_TYPE_CUSTOM = "2";


    /** 获得证书 */
    public static final String RESUME_TYPE_CERTIFICATE = "0";

    /** 实践经历 */
    public static final String RESUME_TYPE_PRACTICE = "0";


    /** 已填 */
    public static final String VIEW_YES = "0";


    /** 已填 */
    public static final String RESUME_ITEM_TYPE_1 = "1";
    public static final String RESUME_ITEM_TYPE_2 = "2";
    public static final String RESUME_ITEM_TYPE_3 = "3";
    public static final String RESUME_ITEM_TYPE_4 = "4";
    public static final String RESUME_ITEM_TYPE_5 = "5";
    public static final String RESUME_ITEM_TYPE_6 = "6";
    public static final String RESUME_ITEM_TYPE_7 = "7";

    /**
     * 获得奖金
     * @param code
     * @return
     */
    public static String getBonusLabel(String code) {
        switch (code) {
            case "1": return "奖学金";
            case "2": return "国家奖学金";
            case "3": return "其他奖";
            default: return "";
        }
    }

    /**
     * 常用外语语种
     * @param code
     * @return
     */
    public static String getForeignLanguagesLabel(String code) {
        switch (code) {
            case "1": return "英语";
            case "2": return "法语";
            case "3": return "俄语";
            case "4": return "阿拉伯语";
            case "5": return "西班牙语";
            case "6": return "其他";
            default: return "";
        }
    }

    /**
     * 英语等级
     * @param code
     * @return
     */
    public static String getEnglishLevelLabel(String code) {
        switch (code) {
            case "1": return "CET4";
            case "2": return "CET6";
            case "3": return "专四";
            case "4": return "专八";
            default: return "";
        }
    }

    /**
     * 法语等级1
     * @param code
     * @return
     */
    public static String getFrenchLevelLabel(String code) {
        switch (code) {
            case "1": return "A1";
            case "2": return "A2";
            case "3": return "B1";
            case "4": return "B2";
            case "5": return "C1";
            case "6": return "C2";
            default: return "";
        }
    }

    /**
     * 阿拉伯语等级1
     * @param code
     * @return
     */
    public static String getArabicLevelLabel(String code) {
        switch (code) {
            case "1": return "一级";
            case "2": return "二级";
            case "3": return "三级";
            default: return "";
        }
    }
}
